<template>
  <el-switch v-model="dataForm[attrName]" active-color="#13ce66" inactive-color="#ff4949" :active-value="1" :inactive-value="0"></el-switch>
</template>

<script>
import basicMixins from './basicMixins'

export default {
  name: 'normalSwitch',
  mixins: [basicMixins],
  props: ['activeColor', 'inactiveColor', 'activeValue', 'inactiveValue']
}
</script>

<style scoped>

</style>
